package com.yangxc.core.log.service.impl;

import com.alibaba.fastjson.JSONObject;
import com.yangxc.core.log.api.LogDto;
import com.yangxc.core.log.service.LogService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Async;

/**
 * @author yangxc
 * @version 1.0.0
 * @ClassName DefaultLogServiceImpl.java
 * @Description TODO
 * @createTime 2022年10月10日 11:06:00
 */
@Slf4j
public class DefaultLogServiceImpl implements LogService {
    
    @Override
    public void save(LogDto logDto) {
        log.info("Http Request: {}", JSONObject.toJSONString(logDto));
    }
}
